# 删除视频中的音频，保存为无声视频
from moviepy.editor import *


old_video = '/home/ccx/视频/[zhainanba.net]林允儿动态壁纸.mp4'
new_video = '/home/ccx/视频/林允儿动态壁纸无声.mp4'

video = VideoFileClip(old_video)
video = video.without_audio()  #删除声音，返回新的视频对象，原有对象不更改
video.write_videofile(new_video)